package day03.note;

public class txt11 {
    public static void main(String[] args) {
        int n=1;
        int s=0;
        while (n<=1000){
            s=s+n;
            n=n+2;
        }
        System.out.println(s);
    }
}
